package com.service.impl;

import com.dao.NewUserDao;
import com.dao.impl.NewUserDaoImpl;
import com.entity.NewUser;
import com.exception.DaoException;
import com.service.NewUserService;

public class NewUserServiceImpl implements NewUserService {

	NewUserDao newUserDao = new NewUserDaoImpl();
	
	@Override
	public NewUser login(String uname, String upwd) throws DaoException {
		return newUserDao.login(uname, upwd);
	}

}
